package com.zhihao.takeaway.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.zhihao.takeaway.common.utils.EasyUITable;
import com.zhihao.takeaway.entity.Category;

public interface CategoryService extends IService<Category> {
    public String getCategoryId(String name);

    EasyUITable getTableData(Integer currentPage);

    Integer deleteById(String id);

    EasyUITable search(String name,Integer currentPage);

    Integer updateCategory(Category category);
}
